package com.example.hms.service;

import com.example.hms.entity.User;
import com.example.hms.util.Result;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    Result login(String userId, String userPassword, HttpServletRequest request);

    Result info(HttpServletRequest request);

    //  Result 查询所有用户信息(String userId,String userName,String roleName);
    Result selectAllUser(String userId,String userName,String roleName);

    Result insert(User user, HttpServletRequest request);

    Result update(User user, HttpServletRequest request);

    Result delete(String userId, HttpServletRequest request);
}
